package com.example.hotelsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lee
 * @since 2020-10-13
 */
@ApiModel(value="RolePower对象", description="")
@Data
public class RolePower implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "角色权限关联id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty(value = "权限id")
    private Long powerId;


}
